@charset "utf-8";

@import '../variable';

/**
 * 
 * @DropPanel.css
 * @author xinxuzhang 
 * @create 15-07-01
 *
**/

.ui-dropanel-x {
	position: absolute;
	width: 260px;
	padding: 20px;
	background-color: $white;
	box-shadow: 0 1px 3px rgba(0,0,0,.25);
	border: 1px solid $borderNormal;
	border: 0 rgba(0,0,0,.2);
	-webkit-animation: fadeIn .2s;
  	animation: fadeIn .2s;
	z-index: 9;
}
.ui-dropanel-title {
	line-height:  20px;
	margin-top: -2px;
	font-size: 14px;
	font-weight: bold;
}
.ui-dropanel-close {
    position: absolute;
  	top: 13px;
  	right: 12px;
  	width: 20px;
  	height: 20px;
  	background: $silver url(#{$urlImage}/DropPanel/close.png) no-repeat;
  	background: none, none;
  	-webkit-transition: fill .2s;
  	transition: fill .2s;
  	fill: $silver;
  	z-index: 1;
}
.ui-dropanel-close svg {
	width: 100%;
	height: 100%;
}
.ui-dropanel-close:hover {
  background-color: $dark;
  fill: $dark;
  background: none, none;
}
.ui-dropanel-content {
	min-height: 40px;
	padding: 10px 0 20px;
}
.ui-dropanel-footer {
	text-align: right;
}
.ui-dropanel-footer .ui-button {
  margin-left: 15px;
}
.ui-dropanel-footer .ui-button:first-child {
  margin-left: 0;
}